﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example41
{
    class Program
    {
        static void Main(string[] args)
        {
            CRectangle recta = new CRectangle();
            Triangle trgl = new Triangle();
            recta.SetValues(4,5);
            trgl.SetValues(5, 6);
            Console.WriteLine("recta:{0}",recta.area());
            Console.WriteLine("trgl:{0}", trgl.area());
            Console.ReadLine();
            
            

        }
    }
}
